package com.secxiot.provider.narcotic.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.secxiot.provider.system.vo.FileLogVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 药品类型
 */
@ApiModel
@Data
@ToString
public class NarcoticDrugsVo implements Serializable {

    private static final long serialVersionUID = -1042714866612668295L;

    @ApiModelProperty(value = "药品id", required = true)
    private Long drugsId;

    @ApiModelProperty(value = "药品名称", required = true)
    private String drugsName;

    @ApiModelProperty(value = "医疗机构", required = true)
    private Long hospitalId;

    @ApiModelProperty(value = "规格", required = true)
    private Integer spec;
    
    @ApiModelProperty(value = "规格名称", required = true)
    private String specName;
    
    @ApiModelProperty(value = "单位", required = true)
    private Integer unit;
    
    @ApiModelProperty(value = "单位名称", required = true)
    private String unitName;
    
    @ApiModelProperty(value = "药品批号", required = true)
    private String batchNo;

    @ApiModelProperty(value = "药品有效期", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date validTime;

    @ApiModelProperty(value = "总量", required = true)
    private String dosage;

    @ApiModelProperty(value = "方式 口服 注射 贴敷 数据字典 00019", required = true)
    private String means;

    @ApiModelProperty(value = "默认间隔时间", required = true)
    private Integer hoursOnce;

    @ApiModelProperty(value = "厂家", required = true)
    private String manufacturer;

    @ApiModelProperty(value = "描述", required = true)
    private String drugsInfo;

    @ApiModelProperty(value = "图片", required = true)
    private String drugPic;
}
